﻿CREATE TABLE [Performance].[PerfWaitstatsData] (
   [PerfWaitstatsDataID] INT     IDENTITY (1, 1) NOT NULL, 
    [PerfWaitstatsID]       INT         NOT NULL,
  
  

    [TimeID] INT NOT NULL, 
    [wait_stat_s] INT NULL, 
  
    
    CONSTRAINT [PK_PerfWaitstatsDataID] PRIMARY KEY CLUSTERED ([PerfWaitstatsDataID] ASC), 
   CONSTRAINT [FK_PerfWaitstats] FOREIGN KEY ([PerfWaitstatsID]) REFERENCES [Performance].[PerfWaitstats]([PerfWaitstatsID]),
    CONSTRAINT [FK_PerfWaitstatsData_Time] FOREIGN KEY ([TimeID]) REFERENCES [Performance].[Time]([TimeID]),
  
 
);

